package com.enhe.gck.pojo;
 import java.util.Date;
 import java.lang.String;
 import java.lang.Integer;
 import java.math.BigDecimal;
 import java.lang.Long;
 import java.lang.Float;
 import java.lang.Double;
 import com.kuangkie.carbon.record.Updatable;
 import com.kuangkie.carbon.record.annotation.Attribute;
 import com.kuangkie.carbon.record.annotation.CarbonRecord;
 import com.kuangkie.carbon.record.annotation.RecordCode;
 import com.alibaba.fastjson.annotation.JSONField;
 import com.kuangkie.carbon.uid.model.UidManager;

// 办公用车
@CarbonRecord("hwane17382")
public class OfficeVehicles implements Updatable{
    @JSONField(name="唯一编码")
    @RecordCode
    private Long id = UidManager.getLongUID();

    // NS主键
    @JSONField(name="NS主键")
    @Attribute("hwan17384")
    private String nsId;

    // 部门
    @JSONField(name="部门")
    @Attribute("hwan17385")
    private String department;

    // 名称
    @JSONField(name="名称")
    @Attribute("hwan17386")
    private String name;

    // 车辆类型
    @JSONField(name="车辆类型")
    @Attribute("hwan17387")
    private String type;

    // 购入期间
    @JSONField(name="购入期间")
    @Attribute("hwan17388")
    private String buy;

    // 截止期间
    @JSONField(name="截止期间")
    @Attribute("hwan17389")
    private String stop;

    // 部门NS主键
    @JSONField(name="部门NS主键")
    @Attribute("hwan17430")
    private String nsIdBm;

    public String getNsId() { 
        return nsId;
    }
    public void setNsId(String nsId) {
        this.nsId = nsId;
    }
    public String getStop() { 
        return stop;
    }
    public void setStop(String stop) {
        this.stop = stop;
    }
    public String getBuy() { 
        return buy;
    }
    public void setBuy(String buy) {
        this.buy = buy;
    }
    public String getNsIdBm() { 
        return nsIdBm;
    }
    public void setNsIdBm(String nsIdBm) {
        this.nsIdBm = nsIdBm;
    }
    public String getName() { 
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Long getId() { 
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getDepartment() { 
        return department;
    }
    public void setDepartment(String department) {
        this.department = department;
    }
    public String getType() { 
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    @Override
    public String getRecordCode() {
        return this.id==null ? null : this.id.toString();
    }
}